-
Notifications
You must be signed in to change notification settings - Fork 642
CASSGO-80 Update example and test code for 2.0 #1897
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
d36c3e8 to
22c91cb
Compare
|
Shall we also add an example for types registration (like here)? |
The current state of that feature is probably only useful for users that are using a different DB other than Cassandra like yugabyte. That example is for a yugabyte type that Cassandra itself doesn't support. Eventually we should add proper custom and udt type support to this API and at that point I think it will become useful to the common user and at that point I think it definitely deserves an example. As it stands I don't even have a way to verify that the jsonb example works because it requires a yugabyte db so I'd say we don't add one for now. |
|
LGTM |
worryg0d
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Left a little nit.
This patch updates the existing examples and tests according to the 2.0 changes (mostly deprecations) and adds new examples for new features added in 2.0. Patch by João Reis; reviewed by Bohdan Siryk and Lukasz Antoniak for CASSGO-80
49efc88 to
a6ef165
Compare
Updates example and test code according to changes in 2.0.0 release (mostly deprecations).
Also adds examples for new 2.0 features.